{% extends "layout/basic.html" %}
{% block content %}
<div class="row" data-sticky-parent>
    <div class="medium-9 columns">
        {% block verify_content %}{% endblock %}
    </div>
    <div class="medium-3 columns">
        <div data-sticky="large">
            <div class="section side">
                <ol class="menu">
                    <li class="menu__item">
                        <div class="menu__link expandable">
                            <span class="icon icon-feeling-lucky"></span> {{ _('验证管理') }}
                        </div>
                        <ol class="menu collapsed">
                            <li class="menu__item" id="menu-item-verify_show">
                                <a class="menu__link{% if page_name == '查看验证' %} active{% endif %}" href="{{ url('verify_show') }}">
                                    {{ _('查看验证') }}
                                </a>
                            </li>
                            {% if handler.user.hasPriv(PRIV.PRIV_SET_PERM) %}
                            <li class="menu__item" id="menu-item-verify_set">
                                <a class="menu__link{% if page_name == '添加验证' %} active{% endif %}" href="{{ url('verify_set') }}">
                                    {{ _('添加验证') }}
                                </a>
                            </li>
                            <li class="menu__item" id="menu-item-verify_import">
                                <a class="menu__link{% if page_name == '批量验证' %} active{% endif %}" href="{{ url('verify_import') }}">
                                    {{ _('批量验证') }}
                                </a>
                            </li>
                            <li class="menu__item" id="menu-item-verify_quick">
                                <a class="menu__link{% if page_name == '快速验证' %} active{% endif %}" href="{{ url('verify_quick') }}">
                                    {{ _('快速验证') }}
                                </a>
                            </li>
                            <li class="menu__item" id="menu-item-verify_resetpwd">
                                <a class="menu__link{% if page_name == 'Reset Password' %} active{% endif %}" href="{{ url('verify_resetpwd') }}">
                                    {{ _('Reset Password') }}
                                </a>
                            </li>
                            {% endif %}
                        </ol>
                    </li>
                </ol>
            </div>
        </div>
    </div>
</div>
{% endblock %}
